package com.hxminer.hxwebs.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author YRG
 * Created by on 2018/5/7.
 * Describe
 */
@RestController
public class SampleController {


    @RequestMapping(value = "hello",method = RequestMethod.GET)
    public String getIndex() {
        return "Hello world";
    }
}
